package com.hangxiang.approval.common;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class IntegerCommon extends Model<IntegerCommon> implements Serializable {
    private static final long serialVersionUID = 498895832223167180L;

    @NotNull(message = "参数不能为null")
    @Min(value = 1,message = "参数必须大于0")
    private Integer value;
}
